﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopUserTag : BaseObject
    {
        //begin
        public TopUserTag(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _TagId;
        [Size(SizeAttribute.Unlimited)]
        public string TagId
        {
            get
            {
                return _TagId;
            }
            set
            {
                SetPropertyValue("TagId", ref _TagId, value);
            }
        }
        private string _TagName;
        [Size(SizeAttribute.Unlimited)]
        public string TagName
        {
            get
            {
                return _TagName;
            }
            set
            {
                SetPropertyValue("TagName", ref _TagName, value);
            }
        }
        private DateTime _CreateDate;
        public DateTime CreateDate
        {
            get
            {
                return _CreateDate;
            }
            set
            {
                SetPropertyValue("CreateDate", ref _CreateDate, value);
            }
        }
        private string _Description;
        [Size(SizeAttribute.Unlimited)]
        public string Description
        {
            get
            {
                return _Description;
            }
            set
            {
                SetPropertyValue("Description", ref _Description, value);
            }
        }
        //end
    }
}
